Total Complexity | 15 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 70 |
Lines of code | 38 |
Logical lines of code | 20 |
Comment lines | 22 |
Methods | 4 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
cart_contains_subscription() | 56 | 8 | 18 | |
current_product_is_subscription() | 67 | 3 | 7 | |
accept_only_automatic_payment_gateways() | 64 | 3 | 10 | |
plugin_is_active() | 80 | 1 | 3 |